
export default function arrayBufferToBase64( buffer ) {
    var bytes = new Uint8Array(buffer);
    var blob = new Blob([bytes], { type: "image/png" });
    // console.log(blob)
    var url = URL.createObjectURL(blob);
    return url
}